var o = getApp();

Page({
    data: {
        homeUrl: ""
    },
    clickCopyToClipboard: function(t) {
        wx.setClipboardData({
            data: this.data.homeUrl,
            success: function(t) {
                o.util.showToast("复制成功！");
            },
            fail: function(t) {
                o.util.showToast("复制失败");
            }
        });
    },
    clickEdit: function(o) {
        wx.navigateTo({
            url: "editweb/editweb"
        });
    },
    onLoad: function(o) {},
    onReady: function() {
        var t = o.globalData.userInfo.homeUrl;
        this.setData({
            homeUrl: t
        });
    },
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {}
});